package cn.myblog.ainblog.mapper;

import cn.myblog.ainblog.model.ArticleTagModel;
import cn.myblog.ainblog.vo.ArticleAndTagVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Dovaior
 * @Description 博文和标签关系表的Mapper
 * @create 2021-04-15 08:45
 **/
@Repository
public interface ArticleTagMapper extends BaseMapper<ArticleTagModel> {
    ArticleAndTagVO queryTagListByArticleId(String articleId);
    List<String> queryArticleIdByTagId(String articleId);
}
